package top.whysu.edevice.dto.page;

import java.io.Serializable;

/**
 * 排序DTO
 */
public class OrderByDTO implements Serializable {
    private static final long serialVersionUID = 8101366985686707668L;
    private String sort;
    /**
     * asc升序/desc倒序，为每个排序字段指定排序方式，不传默认desc
     */
    private String order;

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }
}
